Why To Migrate? Here are the key reasons to use the new updated API provided by GroupDocs.Watermark for Java since version 20.1:
Watermarker class is introduced as a single entry point to manage watermarks in the document (instead of Documentclass from previous versions). Adding watermarks was unified for all supported document formats. Product architecture was redesigned from scratch in order to simplify passing options to manage watermarks. Document information and preview generation procedures were simplified....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This article contains a good example of numeric flag or enumeration in Node.js via Java....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Learn how to add a watermark to a document after converting it to another format using GroupDocs.Conversion for Python via .NET....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
For all supported image formats the GroupDocs.Metadata API allows extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root Metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.ImageReadFileFormatProperties
using (MetadataMetadata = new Metadata(Constants.InputPng)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
JavaScript try { var loadOptions = new LoadOptions(FileFormat.Spreadsheet); const Metadata = new groupdocs.Metadata.Metadata("input.xls", loadOptions); var root = Metadata.getRootPackageGeneric(); } More resources Advanced usage topics To learn more about library features and get familiar how to manage Metadata and more, please refer to theadvanced usage section.
GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This article shows how to save a file to the specified stream in Java...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
OpenType is a format for scalable computer fonts. It was built on its predecessor TrueType, retaining TrueType’s basic structure and adding many intricate data structures for prescribing typographic behavior.
Note Please find more information on the OpenType format here: https://en.wikipedia.org/wiki/OpenType. Reading OpenType Metadata The GroupDocs.Metadata API supports extracting format-specific information from OpenType font files.
The following are the steps to read the header of an OpenType file.
Load an OpenType font file Get the root Metadata package Extract the native Metadata package using OpenTypeRootPackage....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...